package controlador;

import java.net.URL;
import java.util.ResourceBundle;

import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextArea;
import javafx.scene.control.TextField;
import javafx.scene.image.ImageView;


public class Ventas implements Initializable {


	@FXML
	TextField txtFoliodeVenta;
	@FXML
	TextField txtProducto;
	@FXML
	TextField txtNombreCliente;
	@FXML
	TextArea txtDireccion;
	@FXML
	TextField txtTelefono;
	@FXML
	TextField txtEmail;
	@FXML
	TextField txtPrecio;
	@FXML
	TextField txtIva;
	@FXML
	TextField txtTotal;
	@FXML
	TextArea txtGarantia;
	
	
	@FXML
	Label lblFoliodeVenta;
	@FXML
	Label lblProducto;
	@FXML
	Label lblNombreCliente;
	@FXML
	Label lblDireccion;
	@FXML
	Label lblTelefono;
	@FXML
	Label lblEmail;
	@FXML
	Label lblPrecio;
	@FXML
	Label lblIva;
	@FXML
	Label lblTotal;
	@FXML
	Label lblGarantia;
	
	@FXML
	Button btnGuardar;
	@FXML
	Button btnLimpiar;
	@FXML
	ImageView imgCliente;
	@FXML
	Button btnCargarImagen;
	
	
	@SuppressWarnings("unused")
	private application.Main mainApp;

	public void initialize1(URL arg0, ResourceBundle arg1) {
		btnGuardar.setOnAction(new btnGuardar_Click());
		btnLimpiar.setOnAction(new btnLimpiar_Click());
		btnCargarImagen.setOnAction(new btnCargarImagen_Click());
	}
	
	private class btnGuardar_Click implements EventHandler<ActionEvent>{
		@Override
		public void handle(ActionEvent arg0) {
		}
	}
			
	private class btnLimpiar_Click implements EventHandler<ActionEvent>{
		@Override
		public void handle(ActionEvent arg0) {
		}
			
	}
	
	private class btnCargarImagen_Click implements EventHandler<ActionEvent>{
		@Override
		public void handle(ActionEvent arg0) {
		}
			
	}
	
	
	public void setMain(application.Main mainApp){
		this.mainApp = mainApp;
	}
	
	
	@Override
	public void initialize(URL arg0, ResourceBundle arg1) {
		// TODO Auto-generated method stub
		
	}

}


